home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / magic15b / manual.arc / C4.MAG < prev    next >
Encoding:
Text File  |  1989-05-23  |  32.1 KB  |  173 lines

  1.  
  2.     This file is a special BLACK MAGIC Hypertext document.  To read me
  3. obtain MAGREAD.ARC from a local bulletin board, free of charge, or
  4. send $7 to: 
  5.  
  6.     NTERGAID
  7.     2490 BLACK ROCK TPK SUITE 337
  8.     FAIRFIELD, CT 06840
  9.  
  10. to receive, a disk copy of MAGREAD.ARC.
  11. You'll also get some of the latest documents written with BLACK MAGIC.
  12.  
  13.             Thank You
  14.             NTERGAID, Inc.
  15.            î╪6+]'Ä╪X├εå─BεJ├PR║εBO////////////////////OO//////////////////// 
  16. 2
  17. 2////////////////////"OO////////////////////%NO////////////////////&NM////////////////////(NO////////////////////)NM/////////////////////NO////////////////////0    NM////////////////////9OO////////////////////>N
  18. N////////////////////FOO////////////////////L
  19. 2
  20. 2////////////////////O
  21. 2
  22. 2////////////////////Q
  23. 2
  24. 2////////////////////R2
  25. 2////////////////////S2
  26. 2////////////////////TOO////////////////////lO
  27. F////////////////////mNO////////////////////nNM////////////////////r
  28. 2
  29. 2////////////////////u
  30. 2
  31. 2////////////////////x
  32. 2
  33. 2////////////////////{OO////////////////////} OO////////////////////ëN
  34. N////////////////////æN
  35. N////////////////////ûN
  36. N////////////////////Ö
  37. O
  38. F////////////////////ú
  39. N
  40. N////////////////////ª
  41. N
  42. N////////////////////¬
  43. N
  44. N////////////////////« O
  45. F////////////////////║O
  46. F////////////////////═NO////////////////////╬NM////////////////////╤NO////////////////////╥NM////////////////////╫NO////////////////////╪NM////////////////////▄2
  47. 2////////////////////▌2
  48. 2////////////////////▐2
  49. 2////////////////////▀2
  50. 2////////////////////αNO////////////////////ßNM////////////////////Σ <
  51. <////////////////////Ω <
  52. <////////////////////ε <
  53. <////////////////////± <
  54. <////////////////////≤ <
  55. <////////////////////÷22////////////////////≈////////////////////°////////////////////∙////////////////////·////////////////////√ NN////////////////////ⁿ////////////////////²////////////////////■//////////////////// ////////////////////óQÜS  ////3///////óQÜS  ////3///////óQÜS  ////3///////óQÜS  ////3///////        '    -┌──────────┐   ┌──────────┐   ┌──────────┐   ┌──────────┐     ┌──────────┐ │  7HELP  │   │  8NEXT  │   │9    ,PREVIOUS│   │:CONTENTS│     │  ;QUIT  │ └──────────┘   └──────────┘   └──────────┘   └──────────┘     └──────────┘   Chapter 4.                                Creation Movement, Creation, and Editing ...      Editing                                      Movement                                                        @ExtendedASCII  Before you can do any type of document creation or editing,you must first 
  56. knowhow to navigate within a document.  Thatis the purpose of the first part 
  57. of this chapter - To fullyclarify moving within a document.  Experienced 
  58. usersprobably can skip this section and move onto "Creation" or"Editing".           Creating A Document  Creating a document with Black Magic is as simple astyping. As soon as 
  59. BlackMagic is loaded and running on yourcomputer, it is automatically 
  60. runningas a word processor.Thus to create a document, you merely have to 
  61. type.  As you can see, pressing any key makes that character appearon the screen. 
  62. Treat the keyboard as you do any typewriter,and you'll do fine.  However since Magic is not a typewriter, you will find somedifferences.     Note - Here I do not meanthe act of 
  63. writing ahypertext document, and the 
  64. thought processinvolved with that.  Ireally mean the actoftyping.  For 
  65. more information on how thewriting 
  66. processthatgoesintoahypertext 
  67. document, see Chapter 9.      Differences  TypingdocumentswithBlackMagicisdistinctlydifferent from typing them 
  68. usingatypewriter.Thedifferencesthat exist can be broken down as the 
  69. following:                 WordWrap          Justification                    
  70. ReturnKey     WordWrap  The first major difference is called Word Wrap.WordWrapissimply the act 
  71. of taking words thatare present on the endofalinenearthemargin,andif
  72. they fall over the end ofaline,wrappingthemdowntothenextline.  Justification <UsingJustification Another major difference between your typewriterandMagicisjustification.
  73. Justification is the processofmakingtheedgeofthetextastraightline,
  74. rather than being ragged.Anexampleofthisisshownbelow.     This is un-justified text, do you see how the right hand    edges are not a straight line ?  It tends to often look    messy, although sometimes people prefer un-justified    text.     This on the other hand  is an example of justified text.    The edges are the same from  line  to line.  It  is done    by inserting more spaces between letters than the normal    single space as required. ReturnKey  The other major difference from a typewriter is in Black Magic's treatment of the <Enter> key.  Just to clarify things, the <Return> key on a typewriter is equivalent to the <Enter> key on a computer. For this section, they will be used interchangeably.  Onatypewriter,the<Return>keyisusedtoendevery line.InBlackMagic,the<Return>keyisonlyusedeither toendalineearlyortoinsertspacesintoadocument. Oneoccasion to use the<Return>keyis after typing the salutation to aletter. This is demonstrated below.       Dear John,              I regret to tell you that you are ...  The <Return> is pressed after the "," in the "Dear John,". This terminates the line so that Magic doesn't do anything (such as word wrap) to that line beyond printing it verbatim.  The use of the <Return> key also terminates justification of a line.  In short, the <Return> key is used when the text shown on the screen is how you want it to look, without any interference from the computer.                 Editing  As you've probably surmised already, or know from previousexperience, much of 
  75. the true power in word processing liesin its use for editing, not in 
  76. 6composing. Having yourdocument on screen, rather than on paper, gives you unlimited flexibility in editing. Words can be inserted,deleted, modified or 
  77. completely changed, easily and quickly.       Modes - Insert/Overwrite           DeletingText  InsertingText     ReplacingTextThe first step in editing is to determine what mode your keyboard is in. There are two modes: Insert and Overwrite. The Insert mode is the default for Magic. In the Insert mode whatever you type will be continually inserted into the text on screen. The second mode, Overwrite, makes what ever you type go over what is on screen. In other words deleting what is currently on screen and replacing it with what you typed.  You toggle between the two modes by pressing the "0" key on the numeric keypad. (The <NumLock> must be off to toggle between these modes)  You will notice that this key is also marked "Ins". This stands for "Insert". To aid you in determining what mode you are in, the command line displays:      "Ins" near the line number when you are in insert mode.  If you are in overwrite mode, nothing will be displayed.  Whenever you are editing, it is important to know what mode you are typing in, as this will drastically affect your text.          Deleting Text              Replacing Text                               Inserting Text  In the editing process, there are several ways to deletetext including:  <Del> key <Backspace> <Ctrl><BackSpace> <Ctrl> D Blocks  Although the use of the <Del> and <Backspace> keys areuseful methods for 
  78. deleting text, they are slow and not wellsuited to eliminating large 
  79. quantities of text. A better wayfor deleting large quantities of text is 
  80. through the use ofBlocks.  However before we can discuss the use of blocks to delete text, we must first define what they are, so ...                             Blocks The<Del>keydeletes by character, 
  81. pulling characters fowardandthen
  82. deleting them.  The <Del> key is located on the numeric 
  83. keypad next tothe "0" (it is actually 
  84. the period key), and functions as a delete key. (To use the <Del> key, the 
  85. <NumLock> must beoff) The <Backspace> key does exactly the 
  86. opposite of the<Del> key-It deletes 
  87. backwards a singlecharacterata time.      <Ctrl> <BackSpace> deletes text forward 
  88. by words,pulling each new word up to 
  89. the cursor position. <Ctrl>Ddeletes by line, pulling new 
  90. lines up to thecursor position and then 
  91. deleting them.  Blocksare"chunks"oftextthatcanbe 
  92. movedordeletedallatonce.          Blocks                   UnDo                                       Cut/Copy/Paste                                   Block Commands  Blocks as used in word processing are "chunks" of text thatare treated the 
  93. same as single characters. In generalanything you can do to a single 
  94. character, you can do to ablock of text no matter how large the block is.  Before you can use a block of text, you must first defineit. In Black Magic 
  95. this is done by pressing <Shift> inconjunction with the arrow keys. You will 
  96. notice that anytext you mark as a block is highlighted in blue; this is how Black Magic shows what is a block. Differences       The Philosophy of the Block and hence an UnDo  All block operations are performed through the use of abuffer. A buffer is 
  97. simply a dedicated area of storage thatis reserved for a specific use. The 
  98. buffer that is dedicatedto the use of blocks is called the Paste Buffer. All 
  99. blockoperations are accomplished through the use of the pastebuffer. For 
  100. example, when a block is "Cut" fromthe text on screen, it is actually
  101. removedfrom the documentand stored in the paste buffer.      There are three concepts that go along with Magic's use ofblocks.           Cut           Copy          Paste With these three concepts out of the way, we can return to adiscussion of the 
  102. buffer.  The paste buffer is used as a temporary storage area forblocks. As such it is 
  103. never truly empty, except prior to anyblock operations. Because there is only 
  104. one buffer, problemscan be created when working with multiple blocks.      Undo  One use for the paste buffer is that with it, deleted blockscan be restored. 
  105. When the <Del> key is used to delete ablock, it is actually thrown into the 
  106. paste buffer. Thus to"UnDo" the deletion, is as simple as pasting the text 
  107. backinto place.          Previously we mentioned the idea of "legitimate" blockcommand.  A 
  108. legititimate block command is simply a commandthat when used actually 
  109. pertainsto blocks and doessomething related to them.   The following list is 
  110. asummary of all "legitimate" block commands, withdescriptions of their 
  111. functions.     Block Commands ....     Command                  Purpose    <Shift><ArrowKey>        Block Definition    <Alt> <F5>               Cut Block    <SHIFT> <F5>             Copy Block    <F5>                     Paste Block    <Del>                  Cut/Delete Block    <Ctrl> <F5>              Display Buffer    <F6>                     Bold    <Alt> <F6>               Italics    _                        Underline Block    <Ctrl> _                 Double Underline  Also see the section onhypertext for other applicable blockcommands.  The above list summarizes the commands that are applicableto blocks and their 
  112. use. Now we can return to  editing.     ThseDifferences  One thing that Magic does differently than otherword processors, is how it treats  the duration of its blocks.  In some word processors, you can leave blocks defined while you go on and do something else. This is not the case with Magic; once you define a block using <Shift> arrow keys, some legitimate action must be performed on that block immediately otherwise when you resume typing, the block definition will disappear.  The first concept is that of "Cut". Cut 
  113. is used to removea block of text from 
  114. the document into thepastebuffer.It is akin to taking a pair of scissors to 
  115. anewspaper toremove a block of text 
  116. (an article) and filingitina drawer for future use.   The second concept is that of "Copy". 
  117. Copy is used to place a block of text 
  118. into the paste bufferforfutureuse WITHOUT removing it from the document. 
  119.  Copy is akin toxeroxing a block of text 
  120. (an article) fromanewspaperand filing it in the same drawer for future 
  121. use.  The final concept is that of "Paste". 
  122. Paste is used to put what is in the 
  123. buffer into the document. Usingpaste
  124. does not clear the paste buffer, it 
  125. merely writesitscontents to the 
  126. document while leaving it in memory.
  127.  Paste issimilar to gluing a copy of one 
  128. of the articlesinthedrawer back into 
  129. the newspaper.              "   Inserting Text  There are three ways to insert text in Black Magic's wordprocessor:  SimplybyTyping           Striking <Enter> and typing Striking <Ctrl> <Enter> and typing           
  130.             !Replacing Text                Options  An additional editing technique is that of search andreplace. This technique 
  131. lets you specify a string to befound and then automatically replace that 
  132. string by one ofyour own choosing. This can be done in two fashions, either Globally or only from the cursor position forward.  Replaceis employed in the 
  133. following manner. Type the following:       <F10> S R  Black Magic will prompt you for the text that is to besearched for, and you 
  134. reply:       Bartram <Enter>  Black Magic then prompts you for the text that is to replaceit, and you 
  135. reply:       Bartram, A  botanist, <Enter>  Black Magic would then find the first occurrence of"Bartram", and prompt you 
  136. if it should be replaced. Youanswer:       Y  Because the query was answered with "Y", the text would bereplaced with 
  137. "Bartram, a botanist,".  Note - the confirming of each replace can be turned off byuse of the options 
  138. (see section on searching above).             Options  The way that replace functions can be modified through theuse of the options 
  139. commands. These commands can changewhether or not  the replace affects the 
  140. whole document(Global) or from the cursor location forward, and if Black Magic queries you whether or not each replacement should beperformed. For 
  141. more information on the Options, please seethe section on searching in this 
  142. chapter.   The first option, typing, is a perfectly adequate way to insert text into a document although possibly a little bit awkward. To use typing however, Black Magic must be in insert mode, and not overwrite mode. This is checked by examining the command line.  If the word "INS" is anywhere in the command line, then Black Magic is in INSert mode, and text can safely be typed. If "INS" is not visible on the command line, then Black Magic is in overwrite mode, and anything typed will overwrite the text on screen at the cursor location. To change between the modes, press <Ins>.  This will toggle between the two modes. Once Black Magic is in insert mode, any text typed will be inserted at the cursor location. This method of insertion will act in a manner that seems to "push" and wrap the existing text off screen as more text is inserted. While not bad, the "pushing" is distracting, and makes this method of inserting text less desirable. The second method of inserting text into a document, is to press <Enter> several times at the location that you want to insert text. This will then insert many "blank lines" where there is no text into the document. Now to insert text, return to the top of the blank lines and type the insertion. After you are done, delete any extra blank lines with the <Del> key. The problem with this method is that the blank lines have to be inserted & the cursor brought back up & then you have to type.  Again this is not bad, but not necessarily desirable. Hence a third method.  The third method is similar to the first, but instead of striking <Enter>, <Ctrl> <Enter> is struck. This inserts a blank line into the text at the cursor position, but does NOT bring the cursor down with it. This is called a "line feed".  It will insert blank lines into the text by "feeding" the text down while leaving the cursor where it is.          Movement                            #Markers                             $Searching                          =Mouse Use  The first and primary way to move your position within a document is through the use of the arrow keys. There are two keyboards that are typically used for the IBM PC and compatibles.           !StandardKeyboard      EnhancedKeyboard"Practice  The other step in using the arrow keys, is to combine their use with the <Ctrl> key. When this is done, the left and right arrows now move by word rather than by character.  As you discovered, using the arrow keys to move to the end of a long document or to search for something in a document, is time consuming, tedious, and worst of all boring. Thankfully there are better ways.      #%&Page Up & Page Down      $'(Home & End  Now that we've covered the ways to move about a document to a general location, lets discuss how to move to a specific location. This is done in two way: through the use of #markers, and through the use of the $search command. Theenhanced keyboard uses function keys along the top of the keyboard, and it has two set of arrow keys; one separate, and one embedded in the numeric keypad. The separate arrow keys can be used anytime, while the embedded keys must be activated by the <NumLock> key in the same method as the standard keyboard.  The standard keyboard has its function keys along the left hand edge of the keyboard, and only a single set of arrow keys embedded in the numeric keypad. To use these arrow keys, the <NumLock> key must be off. This is shown in BlackMagic on the command line; if it is on a "N" appears on the command line and if it is off it does not. Once the "N" is missing from the command line, the arrow keys can be freely used. Now, with the different keyboards explained, and the arrow keys located, the next thing to do is to practice pressing them. As you can see, when you press the right arrow, it moves the cursor (the blinking underscore) right by one character. The left arrow will do the opposite, while the up and down arrows move the cursor up and down by one line respectively. And if you hold down arrow keys as you are using them, they repeat.             %Markers or Placeholders            #Uses 
  143. >Moreon Markers  Markers/Placeholders are invisible locators that you can embed within your text to quickly access any given location. Once a marker is set, you can access it instantly from anywhere else in the document.  To use a marker press <Alt> <NumberKey>.   There are a maximum of nine (9) markers at any one time. There is no correlation between the number of the marker and its location in the document. The person defining the marker makes the choice as to where marker number one is placed and so on. It is a completely arbitrary process.  To set a marker, press:     <ALT> -  <NumberKey>  Here <NumberKey> is again used to indicate any number from 1 to 9. This will set marker number <NumberKey> at the line that the cursor is on. To erase any given marker, merely set a new one in its place.  Markers are a tool designed to make writing and editing of a document easier, but they do have their )*limitations.      The typical use for markers is to get somewhere in the document FAST. They let you jump to the different nodes in a docuement easily because you don't have to find the link originators for those nodes.  As an example, when writing this manual I kept markers 1 - 9 as chapters  1 -  9.  This way I had instant access to any chapter from 1 - 9.  However I did have some problems when I got to Chapter 10!             &Searching                     $Options                             $KeyboardShortcuts                                   ?MoreonSearching The other way to go to a specific location is through the use of the search function. This process works by entering a text string and having the program search for a matching string.  The search commands are controlled from  the Search submenu. This is accessed by pressing:      <F10> S  This will display the following submenu:      +Find    ,Replace    -Again    .Options  Use Of Find  Find is a very simple function to use. To use it simply press:       <F10> S F  And enter the text that you wish found and press <Enter>. Once the first occurrence of it is found, you can press:       <Ctrl> A   To repeat it a second time.  You can also press:       <F10> S A   For more of the keyboard shortcuts, see:Keyboard Shortcuts  /0Limitations      Options  While the above search procedure worked fine, it was specific to the entry that was typed.  This can often be bad, particularly if you are not sure how the original text was typed. To modify the searching procedure is done by using the "Options" command. This command is activated by pressing the following:       <F10> S O  This will pull up on screen a square dialog box from which the options can be selected by use of the arrow keys to point to the option that you desire to change, and the <LeftArrow> and <RightArrow> keys to change that option. The following are the options that can modify the searching process.       1Global Replace      2Whole Word          3Forward Search          4Query      5IgnoreQuery     Keyboard Shortcuts  As with many other menu driven commands in Black Magic, there are keyboard shortcuts for the Search Functions. These shortcuts are as follows:      Key Combination          Action     <Ctrl> F                 Find     <Ctrl> R                 Replace     <Ctrl> A                 Again     <Ctrl> O                 Options Commands  Using any of these short cuts is done by pressing that key combination and then following the prompts.  <PageUp>and<PageDown> The first of them is through the use of the <PgUp>and <PgDn> keys. These keys are located near the arrow keys and are used for "paging" through a document screen by screen. They typically move you up or down by 24 lines of information. Home&End The next step to maneuvering through a document is through the use of <Home> and <End>. There are two key on the numeric keypad marked <Home> and <End>. These keys can be used in conjunction with other keys   to do movement within the document. The below table details the ways that they can be used for movement.      Key Combination          Action     <Home>                   Beginning of line     <End>                    End of line     <Ctrl><Home>             Top of Current Text Stream     <Ctrl><End>              Bottom of Current Text Stream limitations.  Theirfirst limitation is that any marker is line specific, notposition specific. What this means is that any marker whenactivated willbring you to the line that it was set on,butnot to thespecific position.  The other limitation that markers have is that they are not saved to diskwith the file. They are strictly temporary pointer to alocation. Alogical consequence of this is that when the line with amarker is deleted,so is that marker..  Find is used to search out a string. Replace is used toautomatically find a 
  144. string and replace thatstringwitha specified one. Again is used to repeat the last 
  145. Find/Change. Options is used to control the manner in 
  146. which Search and Replace function. While this above search procedure did work, it has limitations since the options were left at the defaults. For example the above search would  not only find "outsideness", but also any word that contained "outsideness" inside it..  This could be circumvented by use of the options.  The "Global Replace" option is never used for 
  147. searches.  Its function is to determine ifreplace operations affect the whole document (Global) or 
  148. ifthey are only from the cursor position forward 
  149. (Global Replace= Off).  The default for "Global Replace" is Off, or replacements happen only from the cursor location 
  150. forward.                  The "Global Replace" option is never used for searches. Its function is to determine 
  151. ifreplace operations affect the whole document 
  152. (Global)orifthey are only from the cursor position forward (Global 
  153. Replace =Off).  revea/  Thedefault for "Global Replace" is Off, 
  154. orreplacements happen only from the cursor location 
  155. forward.  The "Whole Word" setting determines ifthe search 
  156. and replace operations are limited to thewhole words or parts of words. This means that if you 
  157. aresearching "Man" with "Whole Word" set to off 
  158. then itcouldfind "Mannequin" inits search 
  159. because"Man" is a partof"Mannequin".  If the "WholeWord"optionhadbeensettoonthen 
  160. "Mannequin" would not have been found - it could
  161. onlyfind "Man" (the whole word). The default here 
  162. is off.  "Forward Search" sets the direction that the 
  163. search or replace operation takes. If it issetto forward (the default), then these operations occur 
  164. from the cursor position towards the end of the 
  165. document.  Ifitis set to backward, then the operations
  166. occur backwardsfrom the cursor locationtothe
  167. beginning.  Query is used to determine whether or not Black 
  168. Magic should confirm each replacement with you or 
  169. if it shoulddo them automatically.  The defaultfor "Query" is On, orBlack Magic will query you about every replacement.  Ignore Case - determines if the search and replace operations are case specific. "Case" is used here 
  170. to mean capitalization of letters.  If this optionis on thencase does not matter, 
  171. where as if it is offthenanyoperationswill
  172. occur in a case specificfashion.Thedefault
  173. settingfor case is on or ignore case. Although many people prefer composing on a word processor.  HELP     C5       C3       CONTENTSf cls C5       C7      " MANSUPP  MANSUPP " MANSUPP %